package com.oneday.nuo.base.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;


/**
 * (NuoRoleAuthView)表数据库访问层
 *
 * @author liushuai
 * @since 2021-04-23 18:13:44
 */
@ApiModel(value = "")
@Data
@EqualsAndHashCode(callSuper = false)
public class NuoRoleAuthViewDTO {
    private static final long serialVersionUID = 873359627435958647L;


    /**
     * 主键主键
     */
    @NotNull(message = "{id.require}")
    @ApiModelProperty(value = "主键主键")
    private String id;
    /**
     * 角色id
     */
    @NotNull(message = "角色id不能为空")
    @ApiModelProperty(value = "角色id")
    private String roleId;
    /**
     * 权限id
     */
    @NotNull(message = "权限id不能为空")
    @ApiModelProperty(value = "权限id")
    private String authId;
}
